home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / FLTK-1.0.6 / test / tabs.fl < prev    next >
Encoding:
FLTK User Interface Designer  |  1998-10-06  |  2.7 KB  |  122 lines

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 0.99 
  3. gridx 10 
  4. gridy 10 
  5. snap 3
  6. Function {} {open
  7. } {
  8.   Fl_Window foo_window {open
  9.     xywh {329 266 321 324} hide resizable
  10.   } {
  11.     Fl_Tabs {} {open
  12.       xywh {10 10 300 200} color {47 15} resizable
  13.     } {
  14.       Fl_Group {} {
  15.         label Label1 open
  16.         xywh {10 30 300 180} hide resizable
  17.       } {
  18.         Fl_Input {} {
  19.           label {input:}
  20.           xywh {60 50 240 40}
  21.         }
  22.         Fl_Input {} {
  23.           label {input2:}
  24.           xywh {60 90 240 30}
  25.         }
  26.         Fl_Input {} {
  27.           label {input3:}
  28.           xywh {60 120 240 80}
  29.         }
  30.       }
  31.       Fl_Group {} {
  32.         label tab2 open
  33.         xywh {10 30 300 180} hide
  34.       } {
  35.         Fl_Button {} {
  36.           label button1
  37.           xywh {20 60 100 30}
  38.         }
  39.         Fl_Input {} {
  40.           label {input in box2}
  41.           xywh {140 100 100 30}
  42.         }
  43.         Fl_Button {} {
  44.           label {This is stuff inside the Fl_Group "tab2"} selected
  45.           xywh {30 140 260 30}
  46.         }
  47.       }
  48.       Fl_Group {} {
  49.         label tab3 open
  50.         xywh {10 30 300 180} hide
  51.       } {
  52.         Fl_Button {} {
  53.           label button2
  54.           xywh {20 60 60 80}
  55.         }
  56.         Fl_Button {} {
  57.           label button
  58.           xywh {80 60 60 80}
  59.         }
  60.         Fl_Button {} {
  61.           label button
  62.           xywh {140 60 60 80}
  63.         }
  64.       }
  65.       Fl_Group {} {
  66.         label tab4 open
  67.         xywh {10 30 300 180} labelfont 2 hide
  68.       } {
  69.         Fl_Button {} {
  70.           label button2
  71.           xywh {20 50 60 110}
  72.         }
  73.         Fl_Button {} {
  74.           label button
  75.           xywh {80 50 60 110}
  76.         }
  77.         Fl_Button {} {
  78.           label button
  79.           xywh {140 50 60 110}
  80.         }
  81.       }
  82.       Fl_Group {} {
  83.         label {     tab5      } open
  84.         xywh {10 30 300 180} labeltype ENGRAVED_LABEL
  85.       } {
  86.         Fl_Button {} {
  87.           label button2
  88.           xywh {20 80 60 80}
  89.         }
  90.         Fl_Button {} {
  91.           label button
  92.           xywh {90 90 60 80}
  93.         }
  94.         Fl_Clock {} {
  95.           label {Make sure this clock does not use processor time when this tab is hidden or window is iconized}
  96.           xywh {160 50 100 100} box OSHADOW_BOX color {238 0} labelfont 8 labelsize 10 align 130
  97.         }
  98.       }
  99.     }
  100.     Fl_Input {} {
  101.       label {inputA:}
  102.       xywh {60 220 130 30}
  103.     }
  104.     Fl_Input {} {
  105.       label {inputB:}
  106.       xywh {60 250 250 30}
  107.     }
  108.     Fl_Button {} {
  109.       label cancel
  110.       callback {exit(1);}
  111.       xywh {180 290 60 30}
  112.       code0 {\#include <stdlib.h>}
  113.     }
  114.     Fl_Return_Button {} {
  115.       label OK
  116.       callback {exit(0);}
  117.       xywh {250 290 60 30}
  118.       code0 {\#include <stdlib.h>}
  119.     }
  120.   }
  121.